package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.MineTraining;

/**
 * 培训Service接口
 * 
 * @author ruoyi
 * @date 2025-01-14
 */
public interface IMineTrainingService 
{
    /**
     * 查询培训
     * 
     * @param trainingId 培训主键
     * @return 培训
     */
    public MineTraining selectMineTrainingByTrainingId(Long trainingId);

    /**
     * 查询培训
     *
     * @param examId 培训主键
     * @return 培训
     */
    MineTraining selectMineTrainingByExamId(Long examId);

    /**
     * 查询培训列表
     * 
     * @param mineTraining 培训
     * @return 培训集合
     */
    public List<MineTraining> selectMineTrainingList(MineTraining mineTraining);

    /**
     * 新增培训
     * 
     * @param mineTraining 培训
     * @return 结果
     */
    public int insertMineTraining(MineTraining mineTraining);

    /**
     * 修改培训
     * 
     * @param mineTraining 培训
     * @return 结果
     */
    public int updateMineTraining(MineTraining mineTraining);

    /**
     * 批量删除培训
     * 
     * @param trainingIds 需要删除的培训主键集合
     * @return 结果
     */
    public int deleteMineTrainingByTrainingIds(Long[] trainingIds);

    /**
     * 删除培训信息
     * 
     * @param trainingId 培训主键
     * @return 结果
     */
    public int deleteMineTrainingByTrainingId(Long trainingId);


}
